package one.stand.mapper;

import com.jmp.api.user.model.ShopCartInfoDto;
import one.stand.model.Goods;
import one.stand.model.GoodsType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsApiUserMapper {
    List<ShopCartInfoDto> selectShopCartInfo(@Param("userId") Integer userId, @Param("ids") String[] ids);

    List<Goods> selectGoodsInfo(@Param("companyId") Integer companyId, @Param("typeIds") List<Integer> typeIds, @Param("goodsNameLike") String goodsNameLike);

    List<Goods> selectMainPush(@Param("companyId") Integer companyId);

    List<Goods> selectDaySelect(@Param("companyId") Integer companyId);

    List<GoodsType> selectTypes(@Param("companyId") Integer companyId);
}
